# 配置文件
AI_CONFIG = {
    "chatgpt": {
        "api_key": "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",
        "api_base": "https://openai.naraka.top/v1",
        "max_tokens": 100,
        "temperature": 0.3,
        "default_model": "gpt-3.5-turbo"
    },
    "wenxin": {
        "ak": "ehNUdDb5zQ3vWjY33CeHkyZ5uLBVgBHh",
        "sk": "sCutgDs4bxdLzmGfCWofgxUAx5DnsH7r",
        "topp": 1.0,
        "task_prompt": "novel",
        "typeId": 1,
        "seq_len": 1000
    },
    "xunfei": {
        "api_base": "spark-api.xf-yun.com/v3.1/chat",
        "appid": "c22b30c5",
        "ak": "1361596cb5fc5f7e0fb9f6c4d1bd757f",
        "sk": "ODkyNWU1NzE5MGQ5ZTVjMjc4YjYwYTEx"
    },
    "bailian": {
        "access_key_id": "LTAI5tHz9ZqvUMAHQNfvCfw9",
        "access_key_secret": "vKrKrbxy5fp5KRMrdYWyQafpfxdend",
        "agent_key": "ae3f8fa819684b33907e33a76a23ab0b_p_efm",
        "app_id": "2e59c24bed714acb99ce6146d5a7fadf"
    },
    "zhipu": {
        "api_key": "60ec614943724a66010e27df5bbe54f1.BEbDQryaWO0uVz3U",
        "default_model": "chatglm_turbo",
        "top_p": 0.7,
        "temperature": 0.9
    }
}

DATABASE = {
    "mongodb": {
        "host": "mongodb://localhost:27017",
        "db": "mydb",
        "collection": "contents"
    }
}